package com.ruoyi.tranShort.mapper;

import java.util.List;
import com.ruoyi.tranShort.domain.ShortSchedulingDate;

/**
 * 排班日期Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public interface ShortSchedulingDateMapper 
{
    /**
     * 查询排班日期
     * 
     * @param id 排班日期主键
     * @return 排班日期
     */
    public ShortSchedulingDate selectShortSchedulingDateById(Long id);

    /**
     * 查询排班日期列表
     * 
     * @param shortSchedulingDate 排班日期
     * @return 排班日期集合
     */
    public List<ShortSchedulingDate> selectShortSchedulingDateList(ShortSchedulingDate shortSchedulingDate);

    /**
     * 新增排班日期
     * 
     * @param shortSchedulingDate 排班日期
     * @return 结果
     */
    public int insertShortSchedulingDate(ShortSchedulingDate shortSchedulingDate);

    /**
     * 修改排班日期
     * 
     * @param shortSchedulingDate 排班日期
     * @return 结果
     */
    public int updateShortSchedulingDate(ShortSchedulingDate shortSchedulingDate);

    /**
     * 删除排班日期
     * 
     * @param id 排班日期主键
     * @return 结果
     */
    public int deleteShortSchedulingDateById(Long id);

    /**
     * 批量删除排班日期
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShortSchedulingDateByIds(Long[] ids);

    /**
     * 根据SchedulingId查询
     * @param id
     * @return
     */
    List<ShortSchedulingDate> selectShortSchedulingDateBySchedulingId(Long id);

    /**
     * 查询当天数据
     * @return
     */
    ShortSchedulingDate selectShortSchedulingDateByDayOfTime();

    /**
     * 根据SchedulingIds删除
     * @param ids
     * @return
     */
    int deleteShortSchedulingDateBySchedulingIds(Long[] ids);

    /**
     * 返回SchedulingDateId
     * @param ids
     * @return
     */
    Long[] selectShortSchedulingDateIdBySchedulingIds(Long[] ids);
}
